<%-- 
    Document   : fixtures
    Created on : Mar 1, 2011, 11:07:18 AM
    Author     : M Bilal
--%>
<%@ page import="org.apache.log4j.Logger" %>
<%@ include file="../includes/header.jspf"%>

<%
thisPage = "Fixtures";
final Logger log = Logger.getLogger(thisPage);
app="Cricket2011";
Vector v_fixtures = wpb.get_latest_worldcup_fixtures(false,"Pakistan in West Indies");//to get all fixtures
%>

<div style="padding: 0px 0px 0px 0px;">
     <div align="center" style=" background-color: #dedfe1;padding-top:2px;background-image:url('images/new/.jpg');background-repeat: repeat-x;background-position:0% 350%;">
        <a href="<%=context_Path%>"><img src='<%=context_Path%>/imgsrv?img=home<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="home" title="Home"></a>
        <a href="<%=context_Path%>/content/index.jsp?app=Bollywood"><img src='<%=context_Path%>/imgsrv?img=downloads<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="downloads" title="Downloads"></a>
        <a href="<%=context_Path%>/coolstuff/index.jsp"><img src='<%=context_Path%>/imgsrv?img=cool_stuff<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="coolstuff" title="Cool Stuff"></a>
        <a href="<%=context_Path%>/news/news.jsp"><img src='<%=context_Path%>/imgsrv?img=news<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="news" title="News"></a>
    </div>
    <div class="div_navigation" id="div_navigation">
        <a href="/ufone/index.jsp?page=index.jsp&amp;ref=navLinks" class="LinkIndex">Home</a>&nbsp;&gt;
        <a href="<%=context_Path%>/cricket" class="LinkIndex">Cricket</a>&nbsp;&gt;
        <span class="navigation_Leaf">Fixtures</span>
    </div>

    <div>

        <table width="100%" align="left" cellpadding="0" cellspacing="0" style="text-align: left;font-weight: bold;">
            <tr>
                <td style="background-image:url('../images/new/top_bar_02.jpg');background-repeat: repeat-x;height:26px;">
                    <b style="padding:0px 0px 0px 3px;">Cricket Fixtures</b>
                </td>
            </tr>
        </table>
    </div>
    <div style="clear:both;height:1px;">&nbsp;</div>
    <div style="padding:5px 0px 5px 3px;" align="left">
        <%
                    try {
                        if (!v_fixtures.isEmpty()) {
                            String str_team_a="",str_team_b="";
                            for (int i = 0; i < v_fixtures.size(); i++) {
                                String[] arr_fixture=(String[])v_fixtures.get(i);
                                if (i > 0) {
        %>
                                    <div class="clearFloat blueUnderline"></div>
        <%
                                }
                                str_team_a = arr_fixture[2]!=null?arr_fixture[2]:"TBA";
                                str_team_b = arr_fixture[3]!=null?arr_fixture[3]:"TBA";
                                out.println("<b>"+arr_fixture[0]+"</b><br/>");
                                out.println(arr_fixture[1]+"<br/>");
                                out.println(str_team_a+" vs "+str_team_b+"<br/>");
                                out.println(arr_fixture[4]);
                            }//for loop
                        } else {
                            out.println("Fixtures Not Available");
                        }
                    } catch (Exception e) {
                        log.error("All Fixtures.JSP Page", e);
                    }
        %>
    </div>
</div>
<%@ include file="../includes/footer.jspf"%>

<%
wpb.LogVisit(strIP, thisPage, strGsm,strApn,strBrand,strModel, app,request.getQueryString());
%>